typedef int8_t mattype;
int matrixsizes = 16;
#define NR_ADD 1

RT_LOCAL_DATA int8_t m_a[16*16];
RT_LOCAL_DATA int8_t m_b[16*16];
RT_LOCAL_DATA int8_t m_c[1*256];
RT_L2_DATA int8_t m_a_l2[16*16] = {
40, 42, 24, 44, 28, 62, 5, 60, 40, 4, -14, 24, 54, 36, -34, 44, 
-34, 3, 7, -56, -38, -50, 36, 31, 63, -45, 57, -50, 40, 57, 40, -26, 
37, -45, 33, -25, -13, 40, 16, -31, 22, -56, -51, -25, 6, 11, -53, 30, 
8, 57, -40, 26, -42, -43, -62, 18, 50, -38, -44, 8, -40, 15, -32, 44, 
-20, 46, 46, -43, 37, 10, 27, 60, -38, 9, 55, -56, 31, -63, 45, -1, 
57, 60, -39, 52, -13, 51, 58, -9, 18, -19, -34, -44, 59, -44, 20, -51, 
-60, 20, -5, -58, -35, 48, 29, 51, -3, 56, -19, -35, 11, 12, -15, -53, 
-37, 28, -57, 37, -24, -42, 22, -59, -14, -62, 1, 4, 19, -12, -33, 32, 
28, -64, -14, 32, -14, 58, 2, -50, 12, 28, 58, 50, -2, 58, 8, 23, 
-52, 60, 25, 32, 37, -46, -2, -53, -19, -12, -24, 55, 62, -10, 52, -23, 
-35, 15, -16, 26, 34, -45, -36, 31, 47, 9, -40, 24, -27, -8, -45, -63, 
-34, -50, 15, -24, -22, 20, 63, 21, -7, -39, -55, 20, -62, -21, -22, 30, 
60, 27, 35, -22, 46, -55, 54, 50, -9, 25, 58, -63, -10, -20, -16, -11, 
58, 44, -26, -50, -43, -10, 20, -13, 56, -7, 26, 8, 22, -60, -16, 26, 
-31, 40, 2, 3, -46, -14, -7, -1, -23, -1, -18, 30, 11, 63, 43, 27, 
-9, -13, -45, -62, 27, -15, -31, 32, -20, -59, -30, 29, 39, -57, -2, -36, 
};

RT_L2_DATA int8_t m_b_l2[16*16] = {
-7, 62, 5, -12, 2, 28, 30, -10, 16, 8, -10, -34, -13, 62, -57, -8, 
-4, -12, -31, -28, -60, 30, 48, -49, -9, -41, 40, 62, -51, -2, -2, -40, 
33, -26, 45, -16, 55, -35, 60, 32, -47, 25, 62, 60, -7, 49, -21, 4, 
28, -28, 24, 21, -31, 43, -13, 17, 59, -47, 37, -7, -18, 62, -20, -26, 
-57, 33, 48, 30, 6, -15, -41, 46, -27, 29, -51, -24, 43, -46, 34, 24, 
53, 41, -4, 4, -30, 43, 36, -31, 55, -5, 44, 16, -58, 58, -44, 31, 
10, 1, -21, -58, -41, -54, 50, -3, -7, 26, -34, -14, 62, 14, -3, -19, 
47, 61, -48, 62, -42, -12, -62, 16, 30, -54, 5, 58, 47, 46, 50, -42, 
-40, -59, 60, 17, -56, -24, -5, -1, 54, -27, -7, -53, -19, -2, -34, 32, 
36, 57, 42, 62, 35, -32, -28, -1, 35, -59, 17, -4, 16, -11, 7, -3, 
-23, -54, -15, -27, 36, 7, 36, -31, -40, -33, 31, 7, -17, 23, -52, 27, 
22, 29, -45, -11, -12, 57, 31, -21, 22, 21, 13, 1, 35, -24, 44, -38, 
40, -15, 34, 63, 35, -46, 18, 35, -51, -35, 17, -29, 0, -24, -47, -16, 
-57, -46, 63, 16, -41, 17, -32, 32, 27, 48, -61, -44, -38, 1, 8, -53, 
-3, 12, 11, -58, -10, -48, -20, -22, -21, 4, 53, -44, 6, -22, 24, 18, 
3, 11, -42, -19, 45, 60, -43, -16, 33, -20, 40, -4, -29, -6, -28, -5, 
};

RT_L2_DATA int8_t m_exp_l2[16*16] = {
33, 104, 29, 32, 30, 90, 35, 50, 56, 12, -24, -10, 41, 98, -91, 36, 
-38, -9, -24, -84, -98, -20, 84, -18, 54, -86, 97, 12, -11, 55, 38, -66, 
70, -71, 78, -41, 42, 5, 76, 1, -25, -31, 11, 35, -1, 60, -74, 34, 
36, 29, -16, 47, -73, 0, -75, 35, 109, -85, -7, 1, -58, 77, -52, 18, 
-77, 79, 94, -13, 43, -5, -14, 106, -65, 38, 4, -80, 74, -109, 79, 23, 
110, 101, -43, 56, -43, 94, 94, -40, 73, -24, 10, -28, 1, 14, -24, -20, 
-50, 21, -26, -116, -76, -6, 79, 48, -10, 82, -53, -49, 73, 26, -18, -72, 
10, 89, -105, 99, -66, -54, -40, -43, 16, -116, 6, 62, 66, 34, 17, -10, 
-12, -123, 46, 49, -70, 34, -3, -51, 66, 1, 51, -3, -21, 56, -26, 55, 
-16, 117, 67, 94, 72, -78, -30, -54, 16, -71, -7, 51, 78, -21, 59, -26, 
-58, -39, -31, -1, 70, -38, 0, 0, 7, -24, -9, 31, -44, 15, -97, -36, 
-12, -21, -30, -35, -34, 77, 94, 0, 15, -18, -42, 21, -27, -45, 22, -8, 
100, 12, 69, 41, 81, -101, 72, 85, -60, -10, 75, -92, -10, -44, -63, -27, 
1, -2, 37, -34, -84, 7, -12, 19, 83, 41, -35, -36, -16, -59, -8, -27, 
-34, 52, 13, -55, -56, -62, -27, -23, -44, 3, 35, -14, 17, 41, 67, 45, 
-6, -2, -87, -81, 72, 45, -74, 16, 13, -79, 10, 25, 10, -63, -30, -41, 
};

#define WIDTH 16
#define HEIGHT 16
